#ifndef TIMER_H
#define TIMER_H

#include <time.h>

class Timer
{
public:
	Timer( void );

	void Begin( long TimeoutMS );
	bool IsTimeout( void );
	long ElapsedTime( void );

private:
	long Last;
	long Current;
	long Elapsed;
	long Timeout;
};

#endif